package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsGoods;
import com.qf.vo.GoodsAllinone;

import java.util.List;
import java.util.Map;

/**
 * @author 千锋教育
 * @Company http://www.mobiletrain.org/
 * @Version 1.0
 */
public interface DtsGoodsService {
    Integer getTotal();

    IPage<DtsGoods> queryPage(Integer page, Integer limit, String sort, String order, String goodsSn, String name, List<Integer> brandIds);

    Map<String, Object> queryDetailById(Integer id);

    Object update(GoodsAllinone goodsAllinone);

    Object delete(DtsGoods goods);

    Object create(GoodsAllinone goodsAllinone);
}
